package org.xiaom.butler.activity;

import java.util.List;

import org.xiaom.butler.bean.Hotel;
import org.xiaom.butler.dbService.HotelService;

import android.app.Activity;
import android.os.Bundle;
import android.widget.Toast;

public class Test extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState); 
		HotelService hs=new HotelService(this);
		List<Hotel> hotels=hs.get(new String[]{"1"});
		Toast.makeText(this, hotels.size()+"", 10000).show();
	}
}
